package com.yfqy.admin.domain.dto.revenue;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class RevenueRecordDTO {

    /**
     * ID
     */
    private Long id;

    /**
     * 交易日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recordTime;

    /**
     * 1:初诊，2：复诊
     */
    private Byte theFirst;

    /**
     * 治疗师
     */
    private String therapist;

    /**
     * 顾客姓名
     */
    private String customerName;

    /**
     * 体验，单次，年卡
     */
    private String project;

    /**
     * 项目详情
     */
    private String projectDetail;

    /**
     * 微信、支付宝、工行、post机、抖音、美团、现金
     */
    private String paymentType;

    /**
     * 每笔收入明细
     */
    private BigDecimal paymentAmount;

    /**
     * 顾客电话
     */
    private String phone;

    /**
     * 顾客微信
     */
    private String wechat;

    private String remarks;

    /**
     * 记录时间
     */
    private Date createdTime;

    private Long createdBy;
    private String createdByName;

    /**
     * 变更时间
     */
    private Date modifiedTime;

    private Long modifiedBy;
    private String modifiedByName;
}
